In the Cloud Control Panel, go to the "Virtual Machines" tab, select the desired VM
In the features of the virtual machine, go to the "Hardware" tab and in the "Hard Disks" section specify the new disk size.
Further configuration is performed at the operating system level (see article for Windows, article for Linux).
To reduce the disk size of a virtual machine:
In the features of the virtual machine go to the "Hardware" tab and in the "Hard Disks" section, click the "Add" button, if necessary, edit the size of the created disk.
Next, it is proposed to transfer data to this disk (see article for Windows, article for Linux).